import { createApp } from 'vue'
import pinia from '@/store/index.js'
import App from './App.vue'
const app = createApp(App)
// 地图组件
app.use(pinia)
import router from './router'
// 请求拦截
// import { hookImg, hookSrcipt } from '@/utils/ajaxHook'
// hookImg()
// hookSrcipt()
// 按需引入配置
import lazyUse from './core/lazyUse'
// 兼容多服务请求配置
import '@/core/request'
// echarts 样式适配
import '@/utils/chart-resize'

app.use(lazyUse)
app.use(router).mount('#app')
